package hu.plusone.eregister.service;

import hu.plusone.eregister.entity.Diary;
import hu.plusone.eregister.entity.Lesson;
import java.util.List;

public interface AppService {

    List<Diary> getDiaries(int pageSize, int page);

    List<Lesson> getLessons(String diaryId, int pageSize, int page);

    void saveLesson(Lesson lesson);

    void deleteLesson(Lesson lesson);

    long countDiaries();

}
